package cn.com.chengmandian.erp.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * ERP系统-库存模块-出入库记录
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("erp_stock_inout")
@ApiModel(value = "ErpStockInout对象", description = "ERP系统-库存模块-出入库记录")
public class ErpStockInout implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("记录编号")
    private String inoutNo;

    @ApiModelProperty("仓库ID")
    private Integer warehouseId;

    @ApiModelProperty("货品ID")
    private Integer goodsId;

    @ApiModelProperty("记录类型 1-入库 3-出库")
    private Integer type;

    @ApiModelProperty("数量")
    private Integer amount;

    @ApiModelProperty("业务类型 11-采购单 12-入库修正 31-发货单 32-出库修正")
    private Integer businessType;

    @ApiModelProperty("业务ID")
    private Integer businessId;

    @ApiModelProperty("业务编号")
    private String businessNo;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("操作人ID")
    private Integer createUser;

    @ApiModelProperty("操作人姓名")
    private String createName;

    @ApiModelProperty("创建时间")
    private Date createTime;

}
